home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 22 / Cream of the Crop 22.iso / utility / tsbat50.zip / TSBAT.INF < prev    next >
Text File  |  1996-09-01  |  11KB  |  275 lines

  1.                            - 1 -
  2. Sun 1-September-1996
  3.  
  4. About TSBAT in General                         (All rights reserved)
  5. ======================
  6.  
  7. ┌───────────────────────────────────────────────────────────────┐
  8. │ Please do not distribute any part of this package separately. │
  9. └───────────────────────────────────────────────────────────────┘
  10.  
  11. This package may be used and distributed freely for NON-COMMERCIAL,
  12. NON-INSTITUTIONAL, PRIVATE purposes, provided it is not changed in
  13. any way. (Repacking with another method is ok, though.) For ANY
  14. other usage, such as use in a business enterprise or at a
  15. university, contact the author for registration. Uploading to
  16. bulletin boards is encouraged.
  17.  
  18. You are free to quote brief passages from this package provided you
  19. clearly indicate the source with a proper acknowledgment.
  20.  
  21. If you have comments about the this collection, please do not
  22. hesitate to use electronic mail for communication. But if you wish
  23. to have individual batch problems or programming consultation,
  24. please post your questions to a suitable Usenet newsgroup like
  25. news:comp.os.msdos.misc, news:comp.os.msdos.programmer or
  26. news:alt.msdos.batch. It is much more efficient than asking me by
  27. email. I'd like to help, but I am very pressed for time. I prefer to
  28. pick the questions I answer from the Usenet news. Thus I can answer
  29. publicly at one go if I happen to have an answer. Besides,
  30. newsgroups have a number of readers who might know a better or an
  31. alternative answer. Don't be discouraged, though, if you get a reply
  32. like this from me. I am always glad to hear from fellow users.
  33.  
  34. You'll find many suggestions, improvements, and corrections from
  35. helpful Usenet users in the ftp://garbo.uwasa.fi/pc/pd2/tspost*.zip
  36. information and feedback files. See tspost00.zip for the index of
  37. the said files. See the end of the current file for same pointers.
  38.  
  39. These batches and the information are for MS-DOS with the
  40. command.com interpreter. Some of the tricks may not work properly a
  41. such on a DR-DOS system or with the 4DOS command interpreter because
  42. of their subtle incompatibilities with the vanilla MS-DOS.
  43. Furthermore, I have seen it stated on the Usenet news that in the
  44. Windows 95 MS-DOS box there may be subtle problems with batches
  45. written for MS-DOS, since in the new "MS-DOS 7.0" some of the
  46. accustemed features no longer are in effect.
  47.  
  48. The author shall not be liable to the user for any direct, indirect
  49. or consequential loss arising from the use of, or inability to use,
  50. any program, batch or file howsoever caused. No warranty is given
  51. that the batches, the programs or the advice given will work under
  52. all circumstances.
  53.  
  54. Timo Salmi (email: ts@uwasa.fi WWW: http://uwasa.fi/~ts/)
  55. Professor of Accounting and Business Finance
  56. Faculty of Accounting & Industrial Management
  57. University of Vaasa
  58. P.O. BOX 700, FIN-65101 Vaasa, Finland
  59.  
  60.  
  61.                            - 2 -
  62.  
  63. Contents of Timo Salmi BATches. The batches are self-documenting.
  64. But also see tsbat.nws news file for tips and information.
  65.  
  66. TSBAT50         Batch file collection, T.Salmi
  67. Filename        Comment
  68. --------        --------------------------------
  69. ADDPATH.BAT     Append directories to the path  
  70. APATH-OM.BAT    Otto Makela's version of addpath
  71. ARC2ZIP.BAT     Single .arc to .zip with comment
  72. ASK.EXE         Ask questions in a batch file   
  73. ASKENV.EXE      Ask, returning environment value
  74. BASENAME.EXE    Extract file name from full name
  75. BASEPATH.EXE    Extract path name from full name
  76. BASEXTEN.EXE    Extract file extension from name
  77. BATRICKS.TXT    Assorted batch tricks and tips  
  78. BDIR.BAT        Bare list & count of directories
  79. BLANK.BAT       Poor man's screen saver         
  80. BLK.BAT         Poor man's screen saver & popup 
  81. BOOT.BAT        Choose your boot configuration  
  82. C.BAT           Lazy changing of directory      
  83. CD.AUX          Auxiliary ascii file for pushit 
  84. COLOR.BAT       Set screen color attributes     
  85. COLORMAP.BAT    Ansi screen color esc. seq. map 
  86. D.BAT           Directory with sort & wildsearch
  87. DAILY.BAT       Run a program only once a day
  88. DELDIR.BAT      Remove directory and its files  
  89. DELPATH.BAT     Delete a directory from the path
  90. DOSTRICK.TXT    Assorted MsDos tricks and tips
  91. EDIT.BAT        A truly trivial text editor     
  92. EXE2ZIP.BAT     Self-extracting file into a zip 
  93. FILE_ID.DIZ     Brief characterization of TSBAT 
  94. FU.BAT          Poor man's function evaluator   
  95. GFIND.BAT       Combine Garbo index files info  
  96. HEX.BAT         Add and subtract hexadecimals   
  97. ISANSI.EXE      Has a screen driver been loaded 
  98. LASTBOOT.BAT    Show date + time of previos boot
  99. LC.BAT          Line count for text files       
  100. LEVEL.BAT       Testbench for program errorlevel
  101. LINK1.BAT       How to link batch files together
  102. LINK2.BAT       Batch link demo's second file   
  103. LOCATE.BAT      Wildcard file find              
  104. LOGRUN.BAT      Log program usage & time and run
  105. LOOP.BAT        An index loop demonstration     
  106. M.BAT           Give multiple MsDos commands    
  107. MAKESURE.BAT    Simple command.com virus warning
  108. MENU.BAT        Run programs from a menu        
  109. MVE.BAT         Move file to another directory  
  110. PATH.TXT        How to beat the 127 byte limit  
  111. POPDIRE.BAT     Restore (pop) saved directory   
  112. POPPATH.BAT     Restore the saved path
  113. PORTS.BAT       Display port base I/O addresses 
  114. PROMPT.TXT      Tips on prompt usages with ansi 
  115. PUSHDIRE.BAT    Non-resident push directory     
  116. PUSHIT.BAT      Alternative pushing of directory
  117. PUSHPATH.BAT    Save the current path           
  118. REPLY.BAT       How to give input within a batch
  119. REZIP.BAT       Remove zip authenticity labels  
  120. RULER.BAT       Show screen columns             
  121. RUN.BAT         Testing for viruses             
  122. SAFEDEL.BAT     Safe delete of files            
  123. SAMENAME.BAT    Display drive's files by name   
  124. SAMESIZE.BAT    Display drive's files by size   
  125. SCANZ.BAT       Scan for viruses (incl. execomp)
  126. SCOPY.BAT       Copy a file with a single device
  127. SETCOM.BAT      Secure your command.com         
  128. SETPRN.BAT      Set an Epson compatible printer 
  129. SHOW.BAT        Wildcard multifile type command 
  130. SHOWTIME.BAT    Show current date and time      
  131. SKIP.BAT        Perform commands, skipping files
  132. SUBS.BAT        Make current dir a subst drive  
  133. SWEEP.BAT       Go recursively thru directories 
  134. TEST33.BAT      Test for MsDos 3.3 or later demo
  135. TESTANSI.BAT    Ansi-type screen driver present?
  136. TOUCH.BAT       Touch a file's datetime stamp   
  137. TSBAT.INF       Document (a readme)             
  138. TSBAT.NWS       News concerning this package    
  139. TSPROG.INF      List of programs from Timo Salmi
  140. UNPACK.BAT      Unpack-test-view any archivetype
  141. VAASA.INF       Info: Finland, Vaasa, U of Vaasa
  142. VIRUS.BAT       Another batch-based virus test
  143. WEEKLY.BAT      Run program(s) once a week      
  144. WHERE.BAT       Generic searchstring fname find 
  145. WILD.BAT        Wildcard any command            
  146. ZIPDATE.BAT     Equate .zip date to latest file 
  147. ZOO2ZIP.BAT     Single .zoo to .zip with comment
  148. ----            ------             ------  -----
  149. 0079
  150.  
  151.  
  152. Questions, feedback, alternatives, and improvements from the users:
  153. ==================================================================
  154.  
  155. tspost24.zip
  156. ------------
  157. From: Mark Rogers <mcr@holly.demon.co.uk>
  158. Date: Tue, 30 Apr 96 20:16:07  GMT
  159. Subject: Re: TSBAT48 - Some thoughts....
  160.  
  161. From: ts@uwasa.fi (Timo Salmi)
  162. To: dwayne.sterling@fastdrs.com (Dwayne Sterling)
  163. Date: Sun, 10 Mar 1996 07:40:21 +0200 (EET)
  164. Subject: Re: tsbat46.zip batch tricks
  165.  
  166. From: Don Costello <costello@illuminet.net>
  167. Date: Wed, 21 Feb 96 23:55:02 PST
  168. Subject: Re: Your batch tips/tricks -- GREAT!
  169.  
  170. From: Lars Alexandersen <lalexand@diku.dk>
  171. Date: Sat, 10 Feb 1996 19:33:08 +0100 (MET)
  172. Subject: A batch to show the errorlevel
  173.  
  174. tspost23.zip
  175. ------------
  176. From: jrusnak@MIT.EDU (John Rusnak)
  177. Date: Wed, 23 Aug 1995 18:04:00 EDT
  178. Subject: Random numbers with a batch file
  179.  
  180. From: klee@mistress.informatik.unibw-muenchen.de (Herbert Kleebauer)
  181. Date: Mon, 7 Aug 1995 12:59:35
  182. Subject: Re: A comment on tsbat47.zip
  183.  
  184. From: adimare@cariari.ucr.ac.cr (Adolfo Di Mare)
  185. Date: Sun, 28 May 1995 10:39:25 -0600 (CST)
  186. Subject: recursive whereis.bat
  187.  
  188. tspost22.zip
  189. ------------
  190. From: lordsoth@ix.netcom.com (Joseph Seymour)
  191. Date: Fri, 10 Feb 1995 01:04:07 -0800
  192. Subject: Re: Redirection in batch files
  193.  
  194. tspost21.zip
  195. ------------
  196. From: ts@uwasa.fi (Timo Salmi)
  197. To: benzion@HUM.HUJI.AC.IL (Cassouto Ben-Zion Y.)
  198. Date: Sun, 4 Sep 1994 22:41:14 +0300 (EET DST)
  199. Subject: Re: base????.exe programs in tsbat46.zip
  200.  
  201. From: ts@uwasa.fi (Timo Salmi)
  202. To: jmcging@access.digex.net (John McGing)
  203. Date: Sun, 21 Aug 1994 08:24:48 +0300 (EET DST)
  204. Subject: Re: TSBAT45 and DRDOS6
  205.  
  206. tspost19.zip
  207. ------------
  208. From: "CLAUS FISCHER" <WI00227@wipool.wifo.uni-mannheim.de>
  209. Date: Fri, 18 Feb 1994 15:34:39 CET
  210. Subject: Update for Timo's FU.BAT
  211.  
  212. From: Remco Broekhoff <100041.3006@CompuServe.COM>
  213. Date: 23 Feb 94 05:00:11 EST
  214. Subject: tsbat: lastboot.bat -> BOOTREC.BAT
  215.  
  216. From: grether@wsuaix.csc.wsu.edu (ed grether)
  217. Date: Sat, 19 Dec 92 18:03:03 PST
  218. Subject: Review of TSBAT40.ZIP
  219.  
  220. tspost18.zip
  221. ------------
  222. From: David Pickles <D.M.Pickles@bristol.ac.uk>
  223. Date: Thu, 6 Jan 94 16:35:45 GMT
  224. Subject: Re: Re-boot from a batch file?
  225.  
  226. From ts@uwasa.fi Thu Feb  3 21:45:46 1994
  227. Subject: Re: PUSHDIRE.BAT & POPDIRE.BAT
  228. To: kfagans@nyx.cs.du.edu (Kenn R. Fagans)
  229.  
  230. tspost17.zip
  231. ------------
  232. From: mcr@holly.demon.co.uk (Mark Rogers)
  233. Subject: TSBAT / User input in .BAT files / A little ingenuity
  234. Date: Thu, 14 Oct 1993 00:48:45 +0000
  235.  
  236. From: mcr@holly.demon.co.uk (Mark Rogers)
  237. Subject: tsbat - level.bat improvements
  238. Date: Mon, 15 Nov 1993 13:31:44 +0000
  239.  
  240. tspost16.zip
  241. ------------
  242. From: ccml@hippo.ru.ac.za (Mike Lawrie)
  243. Subject: getdrv.bat
  244. Date: Sun, 13 Jun 1993 22:09:41 +0200 (EET)
  245.  
  246. From: mcr@holly.demon.co.uk (Mark Rogers)
  247. Subject: Re: Dos Errorlevel
  248. Date: Sun, 29 Aug 1993 17:06:30 +0000
  249.  
  250. tspost13.zip
  251. ------------
  252. From: rcmcc@canis.bellcore.com (Ron McConnell)
  253. Date: Thu, 4 Feb 93 12:55:22 EST
  254. Subject: ruler.bat
  255.  
  256. From ts@uwasa.fi Sat Feb 13 07:18:25 1993
  257. Subject: Re: a batch programming question
  258. To: bmaggio@dcs.bellcore.com (Bill Maggio)
  259.  
  260. tspost12.zip
  261. ------------
  262. From: pete@quake.sylmar.ca.us (Pete Benjamin)
  263. Date: Wed, 21 Oct 92 13:12 PDT
  264. Subject: FYI - A mod for ruler.bat that includes the tens position.
  265.  
  266. tspost10.zip
  267. ------------
  268. From: Richard Kaye <KAYE@vax.oxford.ac.uk>
  269. Date: Mon Jun 29 15:30:55 1992
  270. Subject: TSBAT, alternative ERRORLEVEL code
  271.  
  272. From: ts@uwasa.fi (Timo Salmi)
  273. Date: Tue, 18 Aug 1992 05:20:17 GMT
  274. Subject: A batch programming contest for you
  275.